def display_menu():
    print("\nMenu:")
    print("1. Add character")
    print("2. Display all")
    print("3. Delete character")
    print("4. Quit")
    return None
def give_choice():
    while True:
        try:
            choice=int(input("\nYour choice:"))
            if 0<choice<=4:
                return choice
            else:
                print("Please give a right choice!")
        except ValueError:
            print("Please give a right choice!")
            
